package com.heima.comment.controller.v1;

import com.heima.comment.service.CommentRepayService;
import com.heima.model.common.dtos.ResponseResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 评论回复
 */
@Slf4j
@RestController
@RequestMapping("api/v1/comment_repay")
public class CommentRepayController {

    @Autowired
    private CommentRepayService commentRepayService;


    /**
     * 查询评论回复列表
     */
   /* @PostMapping("load")
    public ResponseResult commentList(@RequestBody CommentRepayDto dto){
        log.info(dto.toString());
        return null;
    }*/


    /**
     * 评论回复
     * @param dto
     * @return
     */
    /*@PostMapping("save")
    public ResponseResult commentRepay(@RequestBody CommentRepaySaveDto dto){
        return commentRepayService.saveComment(dto);
    }*/
}
